<template>
  <div class="box">
    <div class="login-box">
      <img src="@/assets/矩形.png" alt="" class="login-l-img" />
      <div class="login-form-title">
        <div style="height: 50px; display: flex; justify-content: center; align-items: center">
          <img src="@/assets/crmmp.png" alt="" class="yy" />
          <h3>
            <span style="padding-left: 10px; font-size: 20px; color: #333">汇客教育</span>
          </h3>
        </div>
        <div style="margin-top: 30px">
          <el-form>
            <el-form-item>
              <el-input placeholder="请输入账号" prefix-icon="Avatar" />
            </el-form-item>
            <el-form-item>
              <el-input placeholder="请输入密码" prefix-icon="Lock" />
            </el-form-item>
            <el-form-item>
              <el-input placeholder="验证码" prefix-icon="Avatar" />
            </el-form-item>
            <el-form-item>
              <el-button type="success" round style="width: 100%; background-color: #05cd95"
                >登录</el-button
              >
            </el-form-item>
          </el-form>
        </div>
      </div>
    </div>
  </div>
</template>
<script setup>
// import {} from 'vue'
</script>
<style lang="scss">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.box {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  height: 100vh; /* 设置容器高度为视口高度 */
  background-color: #2b303b;
  .login-box {
    display: flex;
    width: 886px;
    height: 426px;
    border-radius: 8px;
    background-color: #fff;
    .login-l-img {
      width: 533px;
      height: 426px;
    }
    .login-form-title {
      width: 353px;
      height: 426px;
      padding: 66px;
      padding-bottom: 0;
    }
  }
  .yy {
    width: 36px;
    height: 36px;
    display: block;
  }
}
</style>
